﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace WebApplication2.Controllers
{
    public class DefaultController : Controller
    {
        // GET: Default
        public ActionResult Index()
        {
            return HttpNotFound();
            ModelState.AddModelError("t", "测试  ModelState.AddModelError");
            return View();
        }
        public ActionResult aaa()
        {
            var d=new { data="",ddd=""};
           

            //var v = new { ID = Guid.NewGuid(), Name = "Zhang San" };
            return Json(d,JsonRequestBehavior.AllowGet);
        }
    }
}